Xbasic

WAITDIALOG.HAS_CLOSE_BUTTON Function

Syntax

Has_Close_Button as V(flag as L)

Arguments

flag

.T. = Displays the close button on the dialog box, .F. = Hides the close button.

Description

The .HAS_CLOSE_BUTTON() method displays or hides the close button on a progress dialog.

Example

dim p3 as {waitdialog}
dim i as N
p3.create(3,"percent")
p3.has_close_button(.f.)
p3.Set_Bottom_Message("\cr\lfThis is the bottom row message")
p3.Set_Message("this is the top row message")
for i = 1 to 100
    p3.Set_Percent(i,100)
next i
p3.close()

Limitations

Desktop applications only.

See Also